package com.archway.appframe.orm;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.FilterType;
import org.springframework.context.annotation.Import;
import org.springframework.stereotype.Repository;

import com.archway.appframe.db.AppframeDatasourceConfig;


/**
 * 
 * <strong>(please edit it when context changed)</strong></br>
 * <h1>描述:</h1>
 * <li>用于加载hibernate等其他一些持久层，但目前没有用</li> 
 * <li>描述细节列表</li> 
 * @author lirn
 * @createDate 2014年3月25日 下午10:54:19
 * @copyright Copyright (c) 2014 by lirongnian. All rights reserved.
 */
@Configuration
@ComponentScan(basePackages={"com.archway.**.dao.impl"}
					,includeFilters={@ComponentScan.Filter(type=FilterType.ANNOTATION, value=Repository.class)})
@Import(value = { AppframeDatasourceConfig.class }) //项目导入持久层配置
public class AppframeDAOConfig {

	@Bean
	Object doSth(){
		return new Object();
	}
}
